package com.payment.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 收获地址表 sys_shopping_address
 * 
 * @author payment
 * @date 2019-01-18
 */
public class ShoppingAddress
{
	
	/** id */
	private String id;
	private String merchantId;
	/** 省 */
	private String province;
	/** 市 */
	private String city;
	/** 区 */
	private String area;
	/** 邮编 */
	private String postCode;
	/** 收获人 */
	private String userName;
	/** 手机号 */
	private String phone;
	/** 详细地址 */
	private String addressDetails;
	/** 状态(10A默认，10B不默认) */
	private String status;
	/** 创建时间 */
	private Date createTime;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}

	public String getProvince() 
	{
		return province;
	}
	public void setCity(String city) 
	{
		this.city = city;
	}

	public String getCity() 
	{
		return city;
	}
	public void setArea(String area) 
	{
		this.area = area;
	}

	public String getArea() 
	{
		return area;
	}
	public void setPostCode(String postCode) 
	{
		this.postCode = postCode;
	}

	public String getPostCode() 
	{
		return postCode;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setAddressDetails(String addressDetails) 
	{
		this.addressDetails = addressDetails;
	}

	public String getAddressDetails() 
	{
		return addressDetails;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("postCode", getPostCode())
            .append("userName", getUserName())
            .append("phone", getPhone())
            .append("addressDetails", getAddressDetails())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
}
